/**
 * create by young (young2f@outlook.com) on 2020/8/16
 */
'use strict';
module.exports = app => {
  const { router, controller } = app;
  router.post('/api/role/create', controller.role.createRole);
  router.post('/api/roles/find', controller.role.findRoles);
  router.post('/api/role/find', controller.role.findRole);
  router.post('/api/role/delete', controller.role.deleteRole);
  router.post('/api/role/update', controller.role.updateRole);
};
